Adwaita: Don't restrict columnview editablelabel style to .data-table
authornana-4 <hnmaigo@gmail.com>
Tue, 22 Sep 2020 01:40:15 +0000 (10:40 +0900)
committernana-4 <hnmaigo@gmail.com>
Tue, 22 Sep 2020 01:40:15 +0000 (10:40 +0900)
This should be available without .data-table.

gtk/theme/Adwaita/_common.scss

index fe5faee0df12fea0a72f07152449dcfd7e9549e0..7ffc6f2f2f85ee0117ec9b16c3e5c65fb8e712d4 100644 (file)
@@ -3149,18 +3149,18 @@ columnview {
  * https://gitlab.gnome.org/GNOME/gtk/-/issues/2929     *
  ********************************************************/
 
-  .data-table row:not(:selected) cell editablelabel:not(.editing):focus-within {
-    outline: 2px solid $focus_border_color;
-  }
+columnview row:not(:selected) cell editablelabel:not(.editing):focus-within {
+  outline: 2px solid $focus_border_color;
+}
 
-  .data-table row:not(:selected) cell editablelabel.editing:focus-within {
-    outline: 2px solid $selected_bg_color;
-  }
+columnview row:not(:selected) cell editablelabel.editing:focus-within {
+  outline: 2px solid $selected_bg_color;
+}
 
-  .data-table row:not(:selected) cell editablelabel.editing text selection {
-    color: $selected_fg_color;
-    background-color: $selected_bg_color;
-  }
+columnview row:not(:selected) cell editablelabel.editing text selection {
+  color: $selected_fg_color;
+  background-color: $selected_bg_color;
+}
 
 /*******************************************************
  * Rich Lists                                          *